home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9485 < prev    next >
Encoding:
Text File  |  1996-08-05  |  682 b   |  28 lines

  1. Path: rain.fr!world-net!usenet
  2. From: escali_m@worldnet.net (Marc Escalier)
  3. Newsgroups: comp.lang.c
  4. Subject: big problem with a very small program:please help me!
  5. Date: Sat, 09 Mar 1996 07:27:39 GMT
  6. Organization: World-Net information exchange, Internet provider.
  7. Message-ID: <4hqc8p$njh@aldebaran.sct.fr>
  8. NNTP-Posting-Host: pm10-062.sct.fr
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. #include <stdio.h>
  12. #include <math.h>
  13.  
  14. main()
  15. {
  16. float i;
  17.  
  18. i=5.25;
  19. printf("i is real:l%f\n",i);            /* display 5.25000000000000... ok! */
  20. printf("i is integer%d\n",i);        /* display 0  what does that mean
  21. ?!?*/
  22. return(0);
  23. }
  24.  
  25. thanx for any help.
  26. please answer by email because i don't read often comp.lang.c.
  27.  
  28.